package timetable.interfaces.components;

import java.awt.Component;
import java.util.Vector;

public class ComponentGroup {
	Vector<Component> components;
	
	public ComponentGroup(Component[] components) {
		this.components = new Vector<Component>();
		for (Component c : components)
		{
			this.components.add(c);
		}
	}
	
	public void setVisible(boolean visibility)
	{
		for (Component c : this.components)
		{
			c.setVisible(visibility);
		}
	}
}
